package psn.polaris.file.in;

import java.io.BufferedInputStream;
import java.io.InputStream;

public class PolarisBufferedInputStream extends BufferedInputStream implements AutoCloseable {

    /**
     * Creates a <code>BufferedInputStream</code>
     * and saves its  argument, the input stream
     * <code>in</code>, for later use. An internal
     * buffer array is created and  stored in <code>buf</code>.
     *
     * @param in the underlying input stream.
     */
    public PolarisBufferedInputStream(InputStream in) {
        super(in);
    }

    /**
     * Creates a <code>BufferedInputStream</code>
     * with the specified buffer size,
     * and saves its  argument, the input stream
     * <code>in</code>, for later use.  An internal
     * buffer array of length  <code>size</code>
     * is created and stored in <code>buf</code>.
     *
     * @param in   the underlying input stream.
     * @param size the buffer size.
     * @throws IllegalArgumentException if {@code size <= 0}.
     */
    public PolarisBufferedInputStream(InputStream in, int size) {
        super(in, size);
    }
}
